{#继承基础模板#}
{% extends 'base.html' %}
{#页面标题#}
{% block title %}文章{% endblock %}
{#主体信息#}
{% block main %}
    <br>
{#    循环将文章信息展示#}
    {% for rp in content %}
        <div class="post">
{#        文章标题#}
            <h1 class="title">{{ rp.title }}</h1>
            <h6 class="modified">最后修改时间:{{ rp.modified }}</h6>&emsp;
{#            文章内容#}
            <h3 class="desc">{{ rp.content | safe }}</h3>
            <h6 class="created">创建时间:{{ rp.created }}</h6><br>
        </div>
        <br>
    {% endfor %}
{% endblock %}

